package cn.cat.main.thread;

public class MythreadTest {

    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            Mythread mythread = new Mythread();
            mythread.setName("mythread"+i);
            if (3==i) {
                mythread.setPriority(8);
            }
            mythread.start();
        }
    }
}
